<link rel="stylesheet" href="<?php echo URL::base() ?>media/vendor/css/style.css" type="text/css" media="all" />
<link rel="stylesheet" href="<?php echo URL::base() ?>media/vendor/artdialog/skins/default.css" type="text/css" media="all" />
<link href="<?php echo URL::base() ?>media/vendor/css/ui-lightness/jquery-ui-1.10.4.custom.css" rel="stylesheet">
<link href="<?php echo URL::base() ?>media/vendor/fixtable/css/component.css" rel="stylesheet">
<link href="<?php echo URL::base() ?>media/vendor/fixtable/css/normalize.css" rel="stylesheet">
<link href="<?php echo URL::base() ?>media/vendor/css/jquery-ui-timepicker-addon.min.css" rel="stylesheet">
<script src="<?php echo URL::base() ?>media/vendor/js/jquery-1.10.2.js"></script>
<script src="<?php echo URL::base() ?>media/vendor/js/jquery-ui-1.10.4.custom.js"></script>
<script src="<?php echo URL::base() ?>media/vendor/js/jquery-ui-timepicker-addon.min.js"></script>
<script src="<?php echo URL::base() ?>media/vendor/js/jquery-ui-timepicker-zh-CN.js"></script>
<script src="<?php echo URL::base() ?>media/vendor/js/jquery.ui.datepicker-zh-TW.js"></script>
<script src="<?php echo URL::base() ?>media/vendor/js/Validform_v5.3.2_ncr_min.js"></script>
<script src="<?php echo URL::base() ?>media/vendor/artdialog/jquery.artDialog.js"></script>
<script src="<?php echo URL::base() ?>media/vendor/js/jquery.printPage.js"></script>
<script type="text/javascript">
    $(function() {
        $(".upSuppForm").Validform({tiptype:2,});
    });
    $("#load").click(function(){
        window.location.href="<?php echo URL::base()?>report/onway/load";
    });
</script>
<?php
if(isset($errors)){
    echo '第　'.$errors." 行SKU不存在，请修改后重新上传";
}
?>
<div class="row">
    <div class="span11">
        <form class="upSuppForm" method='post' action='<?php echo URL::site() ?>stocksale/load' enctype="multipart/form-data">
            <table class="table ">
                <tr>
                    <td>批量上传:</td>
                    <td> <input type='file' style="line-height: 0px;" name='xls' class="inputxt" datatype="/.+\.xls/"  nullmsg="请选择上传文件"  errormsg="文件格式只能为xls"/></td>
                    <td><div class="Validform_checktip"></div></td>
                </tr>
            </table>
            <input type='submit' id="load" value='上传' class='btn btn-success' />
            <div class="btn btn-success"><a href="<?php echo URL::site() ?>stocksale/down_template" style="color: #ffffff">下载模版</a></div>
        </form>

    </div>
</div>